-- if true then return {} end -- WARN: REMOVE THIS LINE TO ACTIVATE THIS FILE
return {
  {
    "L3MON4D3/LuaSnip",
    opts = function()
      require("luasnip.loaders.from_vscode").lazy_load {
        paths = "~/Library/Application Support/Code/User/snippets/",
      }
    end,
  },
  -- {
  --   "windwp/nvim-autopairs",
  --   opts = function(_, opts) opts.map_c_h = true end,
  -- },
  {
    "akinsho/toggleterm.nvim",
    keys = {
      {
        mode = { "n", "i", "v", "t" },
        "<C-`>",
        "<CMD>ToggleTerm size=10 direction=horizontal<cr>",
        desc = "Toggle terminal",
      },
    },
    opts = function(_, opts)
      opts.on_open = function() vim.cmd [[ silent! tunmap <C-h>]] end
    end,
  },
}
